package cn.admin.business.controller.staff.verify;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author YJ
 * @DateTime 2023/2/21 14:40
 */
@Data
public class LoginParam {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @Length(min = 6, max = 20, message = "长度必须在指定范围内")
    private String password;

    @NotBlank(message = "验证码不能为空")
    private String code;

    @NotBlank(message = "验证码唯一码不能为空")
    private String uuid;
}
